function is_sender_allowed(rule: rule, sender_id: byte_array): boolean

Utility function which returns whether a rule allows a certain account ID as sender.

Parameters

  • rule — the rule to check
  • sender_id — the sender ID to check
© 2024 Chromia